<%--
  Created by IntelliJ IDEA.
  User: Adger
  Date: 2020/8/28
  Time: 11:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <%-- 控制图片的大小 --%>
    <style>
        img{
            width: 300px;
            height: 300px;
        }
    </style>
</head>
<body>
<form action="/file/uploads" method="post" enctype="multipart/form-data">
    file1:<input type="file" name="imgs"><br>
    file2:<input type="file" name="imgs"><br>
    file3:<input type="file" name="imgs"><br>
    <input type="submit" value="上传">
</form>
<c:forEach items="${files}" var="file">
    <img src="${file}">
</c:forEach>
</body>
</html>
